// 1. 导入创建 vue 根实例的工厂函数
import { createApp } from 'vue'
import { createPinia } from 'pinia'
// import App from './App.vue'
// import App from './views/变量定义/ref.vue'
// import App from './views/变量定义/reactive.vue'
// import App from './views/变量定义/computed.vue'
// import App from './views/事件处理/index.vue'
// import App from './views/父子通信/index.vue'
// 导入 ts 案例页面
import App from './views/黑马头条案例/index.vue'

//  2. 创建根实例并渲染根组件
const pinia = createPinia()
createApp(App).use(pinia).mount('#app')
